package cn.tedu.spring.eg3;

import org.springframework.context.annotation.AnnotationConfigApplicationContext;

public class TestShop {
    public static void main(String[] args) {

    AnnotationConfigApplicationContext context =
            new AnnotationConfigApplicationContext("cn.tedu.spring.eg3");
        ShopController controller = context.getBean(ShopController.class);

        System.out.println("4.使用");

        context.close();

    }
}
